package com.saicmotor.pay.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;

/**
 * @Author: pkqlqx
 * @CreateDate: 2021/12/7 16:52
 * @Description:
 */
@Entity
public class Pay implements Serializable {

    private static final long serialVersionUID = -705499869265040540L;

    @Id(autoincrement = true)
    private Long id;
    @Property
    private String appCode;
    @Property
    private String orderNo;
    @Property
    private String userId;
    @Property
    private String transId;
    @Property
    private String platformMerchId;
    @Property
    private String merchOrderId;
    @Property
    private String payStatus;
    @Property
    private String payStatusDesc;
    @Property
    private Float transAmt;
    @Property
    private Float realPayedAmt;
    @Property
    private String payerBank;
    @Property
    private String payerOpenid;
    @Property
    private String attach;
    @Property
    private Float orderAmt;
    @Property
    private String productBrand;
    @Property
    private String productBrandDesc;
    @Property
    private String createTime;
    @Generated(hash = 1026718620)
    public Pay(Long id, String appCode, String orderNo, String userId,
            String transId, String platformMerchId, String merchOrderId,
            String payStatus, String payStatusDesc, Float transAmt,
            Float realPayedAmt, String payerBank, String payerOpenid, String attach,
            Float orderAmt, String productBrand, String productBrandDesc,
            String createTime) {
        this.id = id;
        this.appCode = appCode;
        this.orderNo = orderNo;
        this.userId = userId;
        this.transId = transId;
        this.platformMerchId = platformMerchId;
        this.merchOrderId = merchOrderId;
        this.payStatus = payStatus;
        this.payStatusDesc = payStatusDesc;
        this.transAmt = transAmt;
        this.realPayedAmt = realPayedAmt;
        this.payerBank = payerBank;
        this.payerOpenid = payerOpenid;
        this.attach = attach;
        this.orderAmt = orderAmt;
        this.productBrand = productBrand;
        this.productBrandDesc = productBrandDesc;
        this.createTime = createTime;
    }
    @Generated(hash = 1111296022)
    public Pay() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getAppCode() {
        return this.appCode;
    }
    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }
    public String getOrderNo() {
        return this.orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getTransId() {
        return this.transId;
    }
    public void setTransId(String transId) {
        this.transId = transId;
    }
    public String getPlatformMerchId() {
        return this.platformMerchId;
    }
    public void setPlatformMerchId(String platformMerchId) {
        this.platformMerchId = platformMerchId;
    }
    public String getMerchOrderId() {
        return this.merchOrderId;
    }
    public void setMerchOrderId(String merchOrderId) {
        this.merchOrderId = merchOrderId;
    }
    public String getPayStatus() {
        return this.payStatus;
    }
    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }
    public String getPayStatusDesc() {
        return this.payStatusDesc;
    }
    public void setPayStatusDesc(String payStatusDesc) {
        this.payStatusDesc = payStatusDesc;
    }
    public Float getTransAmt() {
        return this.transAmt;
    }
    public void setTransAmt(Float transAmt) {
        this.transAmt = transAmt;
    }
    public Float getRealPayedAmt() {
        return this.realPayedAmt;
    }
    public void setRealPayedAmt(Float realPayedAmt) {
        this.realPayedAmt = realPayedAmt;
    }
    public String getPayerBank() {
        return this.payerBank;
    }
    public void setPayerBank(String payerBank) {
        this.payerBank = payerBank;
    }
    public String getPayerOpenid() {
        return this.payerOpenid;
    }
    public void setPayerOpenid(String payerOpenid) {
        this.payerOpenid = payerOpenid;
    }
    public String getAttach() {
        return this.attach;
    }
    public void setAttach(String attach) {
        this.attach = attach;
    }
    public Float getOrderAmt() {
        return this.orderAmt;
    }
    public void setOrderAmt(Float orderAmt) {
        this.orderAmt = orderAmt;
    }
    public String getProductBrand() {
        return this.productBrand;
    }
    public void setProductBrand(String productBrand) {
        this.productBrand = productBrand;
    }
    public String getProductBrandDesc() {
        return this.productBrandDesc;
    }
    public void setProductBrandDesc(String productBrandDesc) {
        this.productBrandDesc = productBrandDesc;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    
}
